//
//  WeiboSwiftCommon.swift
//  WeiboSwift
//
//  Created by hfwd on 2017/5/24.
//  Copyright © 2017年 hfwd. All rights reserved.
//

import Foundation

// MARK: -应用程序信息
/// 应用程序 ID
let WBAppKey = "3040235817"

/// 应用程序加密信息
let WBAppSecret = "fb60d4a16efe0fc998bf075dfdf6a71e"

/// 应用程序回调地址
let WBRedirectURL = "http://www.baidu.com"


// MARK: -全局通知定义
/// 用户需要登录通知
let WBUserShouldLoginNotification = "WBUserShouldLoginNotification"

/// 用户登录成功通知
let WBUserLoginSuccessNotification = "WBUserLoginSuccessNotification"


// MARK: -提示语
// MARK: -网络提示语
/// 网络请求失败
let WBNetWorkRequestFailure = "网络请求失败"

/// 网络请求成功
let WBNetWorkRequestSuccess = "网络请求成功"

// MARK: -登录提示语
/// 登录失败
let WBLoginSuccess = "登录失败"

/// 用户登录已经超时，需要重新登录
let WBLoginTimeout = "用户登录已经超时，需要重新登录"

/// 登录成功
let WBLoginFailure = "登录成功"

// MARK: -微博配图视图常量

/// 配图视图外侧间距
let WBStatusPictureViewOutterMargin = CGFloat(12.0)

/// 配图视图内侧间距
let WBStatusPictureViewInnerMargin = CGFloat(12.0)

/// 配图视图宽度
let WBStatusPictureViewWidth = UIScreen.main.bounds.width - 2 * WBStatusPictureViewOutterMargin

//计算每张图片的宽度
let WBStatusPictureWidth = (WBStatusPictureViewWidth - WBStatusPictureViewInnerMargin * 2) / 3


